﻿@using QuocHoi_TV_Frontend.Models
@using MvcPaging;
@model List<QuocHoi_TV_Frontend.Models.News>
@{
    ViewBag.Title = "CategoriesHome";
    Layout = "~/Views/Shared/_Categories.cshtml";
    Category objCate = ViewBag.objCate;
    News Newsest = null;  
    try
    {
        Newsest = ViewBag.lstcatenews[0];
    }
    catch {        
    }
    
}
<section id="content">
    <!-- chuyen muc -->
    <div id="chuyenmuc">
        <div class="tile_cm">@Html.Raw(objCate.CateName)</div>
        <div class="box_cm">
            <!-- right column-->
            @Html.Partial("_RightContentCate")
        
            <!-- left column-->
            <div class="left_boxcm">
                <div class="imgbigboxcm">
                    @if(Newsest != null){
                        <img width="682" height="383" src="@Newsest.PathImgLarge">
                    }
                </div>
                <div id="grid-list">
                    @{ Html.RenderPartial("_ListNewsCategories", Model); }
                </div>
                
            </div>

        </div>
    </div>
    @Html.Partial("_CountestNews")
    @Html.Partial("_VideosNews")
</section>
